package io.gitee.yth.design.pattern.test.core.pattern.structural.composite.code;

/**
 * @author yth
 * @since 2023-04-26-21:23
 */
public class Department extends Organization {

    public Department(String name) {
        this.name = name;
        this.description = "department";
    }

    @Override
    public void printAll() {
        System.out.println("department: " + name);
    }

}
